import React from "react";
import { createHashRouter } from "react-router-dom";
import Page1 from "./pages/page1";
import About from "./pages/about";

const routers = createHashRouter([
  {
    path: "/",
    element: <Page1 />,
  },
  {
    path: "/page1",
    element: <Page1 />,
  },
  {
    path: "/about",
    element: <About />,
  },
]);

export default routers;
